<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="../../vue.js"></script>
</head>

<body>
  <div id="app">

    <div v-show="show">
      gp18-1
    </div>

    <div v-show="!show">
      gp18-2
    </div>


    <hr>

    <a :[bar]="value"> link </a>
    <form action=""></form>

    <button @click="handleClick()">btn</button>

  </div>

  <script>

    var vm = new Vue({
      el: "#app",
      data: {
        show: true,
        bar: 'fooabc',
        value: 'helloworld'
      },
      methods: {
        handleClick() {
          console.log('handleClick..')
        }
      }
    })

  </script>
</body>

</html>